<?php
/**
 * Created by PhpStorm.
 * User: zd
 * Date: 2019/2/11
 * Time: 17:26
 */

namespace app\api\validate;


class ProductCategoryParameter extends BaseValidate
{
    protected $rule=[
        'id'=>'require|isPositiveInt',
        'page'=>'require|isPositiveInt',
    ];
    protected  $message=[
        'id'=>'分类ID必须是正整数',
        'page'=>'分页必须是正整数',
    ];

}